package com.example.smartcity_poverty.logic.model.LoveDonate

/**
 *  created by ikun
 *  ANDROID STUDIO - version 4.0
 *  email: jinkunwei41@gmail.com
 * --------------------------------
 *
 **/
class LoveActivityAllModel {
    /**
     * total : 1
     * rows : [{"createTime":"2022-03-07 08:10:31","id":8,"imgUrl":"/dev-api/profile/upload/image/2022/03/07/8d6aaa88-e911-40cb-800a-b99dfdad0500.jpg","typeId":7,"name":"公益分类 0102","author":"刘零二","activityAt":"2022-03-15","moneyTotal":55555,"moneyNow":33333,"description":"","isRecommend":"1","detailsList":null,"type":{"id":7,"name":"公益分类 1","sort":0,"imgUrl":"/dev-api/profile/upload/image/2022/03/07/5d2db62f-c339-4c81-bc0b-c8a4d3333ca1.jpg"},"donateCount":0}]
     * code : 200
     * msg : 查询成功
     */
    var total = 0
    var code = 0
    var msg: String? = null
    var rows: List<RowsBean>? = null

    class RowsBean {
        /**
         * createTime : 2022-03-07 08:10:31
         * id : 8
         * imgUrl : /dev-api/profile/upload/image/2022/03/07/8d6aaa88-e911-40cb-800a-b99dfdad0500.jpg
         * typeId : 7
         * name : 公益分类 0102
         * author : 刘零二
         * activityAt : 2022-03-15
         * moneyTotal : 55555
         * moneyNow : 33333
         * description :
         * isRecommend : 1
         * detailsList : null
         * type : {"id":7,"name":"公益分类 1","sort":0,"imgUrl":"/dev-api/profile/upload/image/2022/03/07/5d2db62f-c339-4c81-bc0b-c8a4d3333ca1.jpg"}
         * donateCount : 0
         */
        var createTime: String? = null
        var id = 0
        var imgUrl: String? = null
        var typeId = 0
        var name: String? = null
        var author: String? = null
        var activityAt: String? = null
        var moneyTotal = 0
        var moneyNow = 0
        var description: String? = null
        var isRecommend: String? = null
        var detailsList: Any? = null
        var type: TypeBean? = null
        var donateCount = 0

        class TypeBean {
            /**
             * id : 7
             * name : 公益分类 1
             * sort : 0
             * imgUrl : /dev-api/profile/upload/image/2022/03/07/5d2db62f-c339-4c81-bc0b-c8a4d3333ca1.jpg
             */
            var id = 0
            var name: String? = null
            var sort = 0
            var imgUrl: String? = null
        }
    }
}
